package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.io.Serializable;
import java.util.List;

public class ActivityDetailData {

    /**
     * msg : 成功
     * status : 0
     * data : {"activityDetail":{"id":1,"title":"特使","img":"http://psm8zx75e.bkt.clouddn.com/1e9d038c7e500a8f52bc4928956f521.png","detailImg":"http://psm8zx75e.bkt.clouddn.com/3a860ddfd773dffde2556039948f164.png","price":15,"moneyType":1,"country":"","city":"","address":"测试的地址","status":1,"startTime":1560147843000,"endTime":1561271050000,"createTime":1559802255000,"updateTime":1560322873000,"content":"活动内容","contentEn":"activity content","readNum":0,"sysWallet":{"id":1,"name":"ETH","engName":"Ethereum","logo":"https://w.iotoken.net/static/images/64434548138.png","transferSwitch":0,"drawSwitch":1,"minTransfer":1.0E-4,"maxTransfer":100000,"price":251.59,"money":70,"totalMoney":17611.3,"frozenMoney":2.8097,"change":true,"createTime":1545892607000,"updateTime":1557224640000}},"userOrder":{"id":1,"userId":1627,"userRealNameEn":"用户真实英文姓名","userRealName":"真实姓名","phoneAreaCode":"86","userPhone":"17968455","nationality":"中国","userSex":"男","userBirthPlace":"出生地","userBirthTime":"2019-06-05","passportNo":"护照号","passportCreateTime":"2019-06-05","passportEndTime":"2019-06-05","passportAddress":"护照地址","msg":"备注","orderId":1,"status":3,"createTime":1560325284000,"payTime":1560325284000,"updateTime":null,"lastPayTime":null,"orderSn":""}}
     * success : true
     * timestamp : 1560330354187
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * activityDetail : {"id":1,"title":"特使","img":"http://psm8zx75e.bkt.clouddn.com/1e9d038c7e500a8f52bc4928956f521.png","detailImg":"http://psm8zx75e.bkt.clouddn.com/3a860ddfd773dffde2556039948f164.png","price":15,"moneyType":1,"country":"","city":"","address":"测试的地址","status":1,"startTime":1560147843000,"endTime":1561271050000,"createTime":1559802255000,"updateTime":1560322873000,"content":"活动内容","contentEn":"activity content","readNum":0,"sysWallet":{"id":1,"name":"ETH","engName":"Ethereum","logo":"https://w.iotoken.net/static/images/64434548138.png","transferSwitch":0,"drawSwitch":1,"minTransfer":1.0E-4,"maxTransfer":100000,"price":251.59,"money":70,"totalMoney":17611.3,"frozenMoney":2.8097,"change":true,"createTime":1545892607000,"updateTime":1557224640000}}
         * userOrder : {"id":1,"userId":1627,"userRealNameEn":"用户真实英文姓名","userRealName":"真实姓名","phoneAreaCode":"86","userPhone":"17968455","nationality":"中国","userSex":"男","userBirthPlace":"出生地","userBirthTime":"2019-06-05","passportNo":"护照号","passportCreateTime":"2019-06-05","passportEndTime":"2019-06-05","passportAddress":"护照地址","msg":"备注","orderId":1,"status":3,"createTime":1560325284000,"payTime":1560325284000,"updateTime":null,"lastPayTime":null,"orderSn":""}
         */


        private ActivityDetailBean activityDetail;
        private UserOrderBean userOrder;
        private List<ProductsBean> products;
        /**
         * product : {"id":29,"name":"活动费+含往返机票（中国上海）","price":"398.0189","num":180,"content":"请谨慎选择，预定后不允许取消或者变更出发地，出发地为中国上海"}
         */

        private ProductBean product;


        public ActivityDetailBean getActivityDetail() {
            return activityDetail;
        }

        public void setActivityDetail(ActivityDetailBean activityDetail) {
            this.activityDetail = activityDetail;
        }

        public UserOrderBean getUserOrder() {
            return userOrder;
        }

        public void setUserOrder(UserOrderBean userOrder) {
            this.userOrder = userOrder;
        }

        public List<ProductsBean> getProducts() {
            return products;
        }

        public void setProducts(List<ProductsBean> products) {
            this.products = products;
        }

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public static class ActivityDetailBean {
            /**
             * id : 1
             * title : 特使
             * img : http://file.gufang.co/1e9d038c7e500a8f52bc4928956f521.png
             * detailImg : http://file.gufang.co/3a860ddfd773dffde2556039948f164.png
             * price : 15.0
             * moneyType : 1
             * moneyTypeName : ETH
             * moneyTypeImg : http://file.gufang.co/eth_img.png
             * country : 国家
             * city : 城市
             * address : 测试的地址
             * status : 1
             * startTime : 1560147843000
             * endTime : 1561271050000
             * createTime : 1559802255000
             * updateTime : 1560394565000
             * content : 活动内容
             * contentEn : activity content
             * readNum : 0
             */

            private int id;
            private String title;
            private String img;
            private String detailImg;
            private double price;
            private int moneyType;
            private String moneyTypeName;
            private String moneyTypeImg;
            private String country;
            private String city;
            private String address;
            private int status;
            private long startTime;
            private long endTime;
            private long createTime;
            private long updateTime;
            private String content;
            private String contentEn;
            private int readNum;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getDetailImg() {
                return detailImg;
            }

            public void setDetailImg(String detailImg) {
                this.detailImg = detailImg;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getMoneyType() {
                return moneyType;
            }

            public void setMoneyType(int moneyType) {
                this.moneyType = moneyType;
            }

            public String getMoneyTypeName() {
                return moneyTypeName;
            }

            public void setMoneyTypeName(String moneyTypeName) {
                this.moneyTypeName = moneyTypeName;
            }

            public String getMoneyTypeImg() {
                return moneyTypeImg;
            }

            public void setMoneyTypeImg(String moneyTypeImg) {
                this.moneyTypeImg = moneyTypeImg;
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public long getStartTime() {
                return startTime;
            }

            public void setStartTime(long startTime) {
                this.startTime = startTime;
            }

            public long getEndTime() {
                return endTime;
            }

            public void setEndTime(long endTime) {
                this.endTime = endTime;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getContentEn() {
                return contentEn;
            }

            public void setContentEn(String contentEn) {
                this.contentEn = contentEn;
            }

            public int getReadNum() {
                return readNum;
            }

            public void setReadNum(int readNum) {
                this.readNum = readNum;
            }
        }

        public static class UserOrderBean implements Serializable {
            /**
             * id : 1
             * userId : 1627
             * "userRealSurname": "中文姓",
             * "userRealSurnameEn": "英文姓",
             * userRealNameEn : 用户真实英文姓名
             * userRealName : 真实姓名
             * phoneAreaCode : 86
             * userPhone : 17968455
             * nationality : 中国
             * userSex : 男
             * userBirthPlace : 出生地
             * userBirthTime : 2019-06-05
             * passportNo : 护照号
             * passportCreateTime : 2019-06-05
             * passportEndTime : 2019-06-05
             * passportAddress : 护照地址
             * msg : 备注
             * orderId : 1
             * status : 3
             * createTime : 1560325284000
             * payTime : 1560325284000
             * updateTime : null
             * lastPayTime : null
             * orderSn :
             * "city":"城市" // 城市
             */

            private int id;
            private int userId;
            private String userRealSurname;
            private String userRealSurnameEn;
            private String userRealNameEn;
            private String userRealName;
            private String phoneAreaCode;
            private String userPhone;
            private String nationality;
            private String userSex;
            private String userBirthPlace;
            private String userBirthTime;
            private String passportNo;
            private String passportCreateTime;
            private String passportEndTime;
            private String passportAddress;
            private String msg;
            private int orderId;
            private int status;
            private long createTime;
            private long payTime;
            private long updateTime;
            private long lastPayTime;
            private String orderSn;
            private String city;

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserRealSurname() {
                return userRealSurname;
            }

            public void setUserRealSurname(String userRealSurname) {
                this.userRealSurname = userRealSurname;
            }

            public String getUserRealSurnameEn() {
                return userRealSurnameEn;
            }

            public void setUserRealSurnameEn(String userRealSurnameEn) {
                this.userRealSurnameEn = userRealSurnameEn;
            }

            public String getUserRealNameEn() {
                return userRealNameEn;
            }

            public void setUserRealNameEn(String userRealNameEn) {
                this.userRealNameEn = userRealNameEn;
            }

            public String getUserRealName() {
                return userRealName;
            }

            public void setUserRealName(String userRealName) {
                this.userRealName = userRealName;
            }

            public String getPhoneAreaCode() {
                return phoneAreaCode;
            }

            public void setPhoneAreaCode(String phoneAreaCode) {
                this.phoneAreaCode = phoneAreaCode;
            }

            public String getUserPhone() {
                return userPhone;
            }

            public void setUserPhone(String userPhone) {
                this.userPhone = userPhone;
            }

            public String getNationality() {
                return nationality;
            }

            public void setNationality(String nationality) {
                this.nationality = nationality;
            }

            public String getUserSex() {
                return userSex;
            }

            public void setUserSex(String userSex) {
                this.userSex = userSex;
            }

            public String getUserBirthPlace() {
                return userBirthPlace;
            }

            public void setUserBirthPlace(String userBirthPlace) {
                this.userBirthPlace = userBirthPlace;
            }

            public String getUserBirthTime() {
                return userBirthTime;
            }

            public void setUserBirthTime(String userBirthTime) {
                this.userBirthTime = userBirthTime;
            }

            public String getPassportNo() {
                return passportNo;
            }

            public void setPassportNo(String passportNo) {
                this.passportNo = passportNo;
            }

            public String getPassportCreateTime() {
                return passportCreateTime;
            }

            public void setPassportCreateTime(String passportCreateTime) {
                this.passportCreateTime = passportCreateTime;
            }

            public String getPassportEndTime() {
                return passportEndTime;
            }

            public void setPassportEndTime(String passportEndTime) {
                this.passportEndTime = passportEndTime;
            }

            public String getPassportAddress() {
                return passportAddress;
            }

            public void setPassportAddress(String passportAddress) {
                this.passportAddress = passportAddress;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getPayTime() {
                return payTime;
            }

            public void setPayTime(long payTime) {
                this.payTime = payTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public long getLastPayTime() {
                return lastPayTime;
            }

            public void setLastPayTime(long lastPayTime) {
                this.lastPayTime = lastPayTime;
            }

            public String getOrderSn() {
                return orderSn;
            }

            public void setOrderSn(String orderSn) {
                this.orderSn = orderSn;
            }
        }

        public static class ProductsBean extends BaseAdapter.BaseItem {
            /**
             * id : 1
             * name : 7
             * price : 7.0000
             * num : 7
             * content :
             */

            private int id;
            private String name;
            private double price;
            private int num;
            private String content;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class ProductBean {
            /**
             * id : 29
             * name : 活动费+含往返机票（中国上海）
             * price : 398.0189
             * num : 180
             * content : 请谨慎选择，预定后不允许取消或者变更出发地，出发地为中国上海
             */

            private int id;
            private String name;
            private String price;
            private int num;
            private String content;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
